export interface MenuItemType {
  id: number;
  createTime: string;
  updateTime: string;
  // isDeleted: 0;
  // param: {};
  pid: number;
  name: string;
  code: string;
  toCode: string;
  type: number;
  status: null;
  level: number;
  children: MenuItemType[];
}

/**
 * 添加菜单类型
 */

export interface MenuAddDataType {
  code: string;
  createTime?: string;
  id: number | null;
  // isDeleted: 0;
  level?: number;
  name: string;
  pid?: number | null;
  select?: true;
  status?: number;
  toCode?: string;
  type?: number;
  updateTime?: string;
}
